<?php

use Illuminate\Routing\Router;
use Illuminate\Support\Facades\Route;

Route::group([
    'prefix' => 'admin/point',
    'namespace' => 'Frieza\\Modules\\Point\\Controllers',
    'middleware' => [
        'web',
        'admin'
    ],
], function (Router $router) {
    //商品列表
    $router->get('', 'PointController@index');
    //创建
    $router->get('add/{id}', 'PointController@add');
    $router->post('save', 'PointController@save');
    //发放详情
    $router->get('user/{id}', 'PointController@giveDetail');
    $router->get('down-excel', 'PointController@downExcel');//统计信息-导出
});